package com.yjyw.tiexie.bean;

import java.io.Serializable;
import java.util.List;

public class KsBean implements Serializable {

    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"2a7370700fa848deb8b7a9652d2b22af","parentId":"79156e3183d9402ea93b3dc0eaf297bc","departName":"骨科","departNameEn":null,"departNameAbbr":null,"departOrder":0,"description":null,"orgCategory":"2","orgType":"3","orgCode":"A01A01A01","mobile":null,"fax":null,"address":null,"memo":null,"status":null,"delFlag":"0","createBy":"admin","createTime":"2021-05-14 11:34:41","updateBy":"e9ca23d68d884d4ebb19d07889727dae","updateTime":"2021-05-14 11:34:41"},{"id":"459f1157f54e489589f8a77732295200","parentId":"79156e3183d9402ea93b3dc0eaf297bc","departName":"内科","departNameEn":null,"departNameAbbr":null,"departOrder":0,"description":null,"orgCategory":"2","orgType":"3","orgCode":"A01A01A02","mobile":null,"fax":null,"address":null,"memo":null,"status":null,"delFlag":"0","createBy":"admin","createTime":"2021-05-17 13:05:05","updateBy":"e9ca23d68d884d4ebb19d07889727dae","updateTime":"2021-05-17 13:05:05"}]
     * timestamp : 1621652407899
     */

    private boolean success;
    private String message;
    private int code;
    private long timestamp;
    private List<ResultBean> result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean implements Serializable {
        /**
         * id : 2a7370700fa848deb8b7a9652d2b22af
         * parentId : 79156e3183d9402ea93b3dc0eaf297bc
         * departName : 骨科
         * departNameEn : null
         * departNameAbbr : null
         * departOrder : 0
         * description : null
         * orgCategory : 2
         * orgType : 3
         * orgCode : A01A01A01
         * mobile : null
         * fax : null
         * address : null
         * memo : null
         * status : null
         * delFlag : 0
         * createBy : admin
         * createTime : 2021-05-14 11:34:41
         * updateBy : e9ca23d68d884d4ebb19d07889727dae
         * updateTime : 2021-05-14 11:34:41
         */

        private String id;
        private String parentId;
        private String departName;
        private String departNameEn;
        private String departNameAbbr;
        private int departOrder;
        private String description;
        private String orgCategory;
        private String orgType;
        private String orgCode;
        private String mobile;
        private String fax;
        private String address;
        private String memo;
        private String status;
        private String delFlag;
        private String createBy;
        private String createTime;
        private String updateBy;
        private String updateTime;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getParentId() {
            return parentId;
        }

        public void setParentId(String parentId) {
            this.parentId = parentId;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getDepartNameEn() {
            return departNameEn;
        }

        public void setDepartNameEn(String departNameEn) {
            this.departNameEn = departNameEn;
        }

        public String getDepartNameAbbr() {
            return departNameAbbr;
        }

        public void setDepartNameAbbr(String departNameAbbr) {
            this.departNameAbbr = departNameAbbr;
        }

        public int getDepartOrder() {
            return departOrder;
        }

        public void setDepartOrder(int departOrder) {
            this.departOrder = departOrder;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getOrgCategory() {
            return orgCategory;
        }

        public void setOrgCategory(String orgCategory) {
            this.orgCategory = orgCategory;
        }

        public String getOrgType() {
            return orgType;
        }

        public void setOrgType(String orgType) {
            this.orgType = orgType;
        }

        public String getOrgCode() {
            return orgCode;
        }

        public void setOrgCode(String orgCode) {
            this.orgCode = orgCode;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getFax() {
            return fax;
        }

        public void setFax(String fax) {
            this.fax = fax;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }

        public String getCreateBy() {
            return createBy;
        }

        public void setCreateBy(String createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(String updateBy) {
            this.updateBy = updateBy;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }
    }
}
